[INFO] cloning repository https://github.com/Kartoffelsaft/rust-threaded-game
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kartoffelsaft/rust-threaded-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartoffelsaft%2Frust-threaded-game", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartoffelsaft%2Frust-threaded-game'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7d45724fad905a4ac03d79bdeebc68ace0321881
[INFO] checking Kartoffelsaft/rust-threaded-game against master#43a4909ee98ed4d006d9d773f5d94dc58e34f846 for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKartoffelsaft%2Frust-threaded-game" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Kartoffelsaft/rust-threaded-game
[INFO] finished tweaking git repo https://github.com/Kartoffelsaft/rust-threaded-game
[INFO] tweaked toml for git repo https://github.com/Kartoffelsaft/rust-threaded-game written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Kartoffelsaft/rust-threaded-game on toolchain 43a4909ee98ed4d006d9d773f5d94dc58e34f846
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Kartoffelsaft/rust-threaded-game already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded term_size v0.3.1
[INFO] [stderr]   Downloaded libc v0.2.45
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0
[INFO] running `Command { std: "docker" "start" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0" "/opt/rustwide/cargo-home/bin/cargo" "+43a4909ee98ed4d006d9d773f5d94dc58e34f846" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking rand_core v0.3.0
[INFO] [stderr]    Compiling libc v0.2.45
[INFO] [stderr]    Compiling rand v0.6.4
[INFO] [stderr]    Compiling rand_pcg v0.1.1
[INFO] [stderr]     Checking rand_xorshift v0.1.1
[INFO] [stderr]     Checking rand_hc v0.1.0
[INFO] [stderr]     Checking rand_isaac v0.1.1
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_os v0.1.1
[INFO] [stderr]     Checking term_size v0.3.1
[INFO] [stderr]     Checking console_app_game v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> src/threading/entities/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             channel,
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub entity_inst: Arc<Mutex<Entity>>,
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub entity_inst: Arc<Mutex<dyn Entity>>,
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn routine(commands: Receiver<ToEntityCommand>, mut entity_inst: Arc<Mutex<Entity>>)
[INFO] [stdout]    |                                                                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn routine(commands: Receiver<ToEntityCommand>, mut entity_inst: Arc<Mutex<dyn Entity>>)
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:73:85
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_commands(commands: &Receiver<ToEntityCommand>, entity_inst: &mut Arc<Mutex<Entity>>)
[INFO] [stdout]    |                                                                                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_commands(commands: &Receiver<ToEntityCommand>, entity_inst: &mut Arc<Mutex<dyn Entity>>)
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `channel`
[INFO] [stdout]  --> src/threading/entities/mod.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |             channel,
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:38:32
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub entity_inst: Arc<Mutex<Entity>>,
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     pub entity_inst: Arc<Mutex<dyn Entity>>,
[INFO] [stdout]    |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:60:80
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn routine(commands: Receiver<ToEntityCommand>, mut entity_inst: Arc<Mutex<Entity>>)
[INFO] [stdout]    |                                                                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub fn routine(commands: Receiver<ToEntityCommand>, mut entity_inst: Arc<Mutex<dyn Entity>>)
[INFO] [stdout]    |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threading/entities/entity.rs:73:85
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_commands(commands: &Receiver<ToEntityCommand>, entity_inst: &mut Arc<Mutex<Entity>>)
[INFO] [stdout]    |                                                                                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 73 | fn parse_commands(commands: &Receiver<ToEntityCommand>, entity_inst: &mut Arc<Mutex<dyn Entity>>)
[INFO] [stdout]    |                                                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/threading/collision_handler/movement.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut loc = self.get_loc_mut();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread` is never read
[INFO] [stdout]   --> src/threading/entities/entity.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct EntityCommunicator
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 33 | {
[INFO] [stdout] 34 |     thread: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/threading/general.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 reciever.send(ThreadMessage::BroadCast(message.clone()));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 let _ = reciever.send(ThreadMessage::BroadCast(message.clone()));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/threading/collision_handler/movement.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |         let mut loc = self.get_loc_mut();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread` is never read
[INFO] [stdout]   --> src/threading/entities/entity.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct EntityCommunicator
[INFO] [stdout]    |            ------------------ field in this struct
[INFO] [stdout] 33 | {
[INFO] [stdout] 34 |     thread: JoinHandle<()>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/threading/general.rs:161:17
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 reciever.send(ThreadMessage::BroadCast(message.clone()));
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 161 |                 let _ = reciever.send(ThreadMessage::BroadCast(message.clone()));
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.41s
[INFO] running `Command { std: "docker" "inspect" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0", kill_on_drop: false }`
[INFO] [stdout] 0c15cddb5f4bd494b0f34c2a94640065b88c4c1a82b3a609aa238c04c412efb0
